package com.tomecode.tools.maven.settings;

import org.eclipse.equinox.app.IApplication;
import org.eclipse.equinox.app.IApplicationContext;

import com.tomecode.tools.maven.settings.gui.tray.SystemTray;

/**
 * This class controls all aspects of the application's execution
 * 
 * @author Tomas Frastia
 * @see http://www.tomecode.com or
 *      http://code.google.com/p/maven-settings-editor/
 * 
 */
public final class Application implements IApplication {

	/**
	 * start app
	 */
	public final Object start(IApplicationContext context) throws Exception {
		SystemTray systemTray = new SystemTray();
		systemTray.open();
		return IApplication.EXIT_OK;
	}

	/**
   * 
   */
	public final void stop() {
		// nothing to do
	}
}
